package com.fhz.day007;

import androidx.lifecycle.LiveData;

import com.fhz.day007.core.BaseRepository;
import com.fhz.day007.entity.Category;
import com.fhz.utilsfhz.ApiResponse;

import java.util.List;

/**
 * 时间:2022/5/25
 *
 * @author msfeng
 * 简述: TODO
 */
public class MainRepository extends BaseRepository<MainModel> {
    public MainRepository(MainModel model) {
        super(model);
    }


    public LiveData<ApiResponse<List<Category>>> getCategroy(int i){
        return model.getCategroy(i);
    }

}

